Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid possible array bounds error. #2761

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Avoid possible array bounds error. #2761

merged 1 commit into from
Jan 17, 2024

Conversation

s-ludwig
Copy link
Member

RFC822 date/time strings can be larger than 29 characters if an unnamed time zone is used. Extending the buffer to 32 leaves one byte of slack for the longest possible string: "Wed, 02 Oct 2002 08:00:00 +0200"

RFC822 date/time strings can be larger than 29 characters if an unnamed time zone is used. Extending the buffer to 32 leaves one byte of slack for the longest possible string: "Wed, 02 Oct 2002 08:00:00 +0200"
@s-ludwig s-ludwig requested a review from l-kramer January 17, 2024 11:33
@l-kramer l-kramer merged commit 421341e into master Jan 17, 2024
74 checks passed
@s-ludwig s-ludwig deleted the fix_buffer_overflow branch January 17, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants